package com.med.controller;

import com.med.entity.MedicineDO;
import com.med.service.ShopService;
import com.med.vo.MedicineVO;
import com.ruoyi.common.core.domain.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Description:
 * @Author: 超派铁拳暴击键盘
 * @Date: 2025/8/29 10:25
 */
@RestController
@RequestMapping("/shop")
public class ShopController {
    @Autowired
    private ShopService shopService;

    @RequestMapping("/list")
    public R<List<MedicineDO>> queryAllmedicineByCategory(MedicineVO medicineVO){
        return shopService.queryAllShop(medicineVO);
    }

}
